package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "软件著作权")
public class BusinessSoftware implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "软件名称")
    private String name;
    @ApiModelProperty(value = "登记号")
    private String registrationCode;
    @ApiModelProperty(value = "版本号")
    private String versionCode;
    @ApiModelProperty(value = "分类号")
    private String classificationCode;
    @ApiModelProperty(value = "登记批准日期")
    private Date approvalDate;
    @ApiModelProperty(value = "软件简称")
    private String shortName;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRegistrationCode() {
        return registrationCode;
    }

    public void setRegistrationCode(String registrationCode) {
        this.registrationCode = registrationCode == null ? null : registrationCode.trim();
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode == null ? null : versionCode.trim();
    }

    public String getClassificationCode() {
        return classificationCode;
    }

    public void setClassificationCode(String classificationCode) {
        this.classificationCode = classificationCode == null ? null : classificationCode.trim();
    }

    public Date getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(Date approvalDate) {
        this.approvalDate = approvalDate;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName == null ? null : shortName.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    @Override
    public String toString() {
        return "BusinessSoftware{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", registrationCode='" + registrationCode + '\'' +
                ", versionCode='" + versionCode + '\'' +
                ", classificationCode='" + classificationCode + '\'' +
                ", approvalDate=" + approvalDate +
                ", shortName='" + shortName + '\'' +
                ", enterId=" + enterId +
                '}';
    }
}